<form id="form-signin" class="form-horizontal" action="<?=site_url('signin')?>" method="post">
	<fieldset>
		<legend>登录</legend>
		<div class="err-board"></div>
		<div class="control-group">
			<label for="name" class="control-label">用户名</label>
			<div class="controls">
				<input id="name" name="name" type="text" required placeholder="用户名">
			</div>
		</div>
		<div class="control-group">
			<label for="passwd" class="control-label">密码</label>
			<div class="controls">
				<input id="passwd" name="passwd" type="password" required placeholder="密码">
			</div>
		</div>
		<div class="control-group">
			<div class="controls">
				<label class="checkbox"><input type="checkbox" name="auto_login" value="1"> 记住我</label>
			</div>
		</div>
		<div class="control-group">
			<div class="controls">
				<button class="btn btn-primary" type="submit" data-loading-text="正在登录...">登录</button>
				<a class="btn btn-link" href="<?=site_url('signup.html')?>">还没有账号，去申请一个</a>
			</div>
		</div>
	</fieldset>
</form>